package zuoye2;

import java.util.Random;

public class hw3_daluan {
	public static void main(String[] args) {
		int [] arr={1,2,3,4,5};
		Random r=new Random();
		for (int i=0;i<arr.length;i++){
			int count=r.nextInt(arr.length);
			int num=arr[i];
			arr[i]=arr[count];
			arr[count]=num;
		}
		for(int i=0;i<arr.length;i++){
			System.out.println(arr[i]);
		}
	}
}
